package cn.shengchao.qywx.infrastrure.mapper;

import cn.shengchao.examstar.rpc.wecom.req.RuleDataPageQuery;
import cn.shengchao.qywx.infrastrure.po.QywxRuleMain;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QywxRuleMainMapper extends BaseMapper<QywxRuleMain> {
    List<QywxRuleMain> selectRuleMainListForPage(@Param("query") RuleDataPageQuery query);

    long selectRuleMaxPriority();
}